package com.nyist.zk.entities;
/**
 * 医生的实体类
 * */
public class Doctor {
    //医生的id
    private Integer d_id;
    //医生的姓名
    private String d_name;
    //医生的性别 1 代表 1男 , 2 代表 2女
    private Integer d_sex;
    //医生的年龄
    private Integer d_age;
    //医生的科室
    private String d_department;
    //医生的住址
    private String d_address;
    //医生的手机号
    private String d_tel;
    //医生的登录密码
    private String d_password;

    public Doctor() {
        super();
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "d_id=" + d_id +
                ", d_name='" + d_name + '\'' +
                ", d_sex=" + d_sex +
                ", d_age=" + d_age +
                ", d_department='" + d_department + '\'' +
                ", d_address='" + d_address + '\'' +
                ", d_tel='" + d_tel + '\'' +
                ", d_password='" + d_password + '\'' +
                '}';
    }

    public Integer getD_id() {
        return d_id;
    }

    public void setD_id(Integer d_id) {
        this.d_id = d_id;
    }

    public String getD_name() {
        return d_name;
    }

    public void setD_name(String d_name) {
        this.d_name = d_name;
    }

    public Integer getD_sex() {
        return d_sex;
    }

    public void setD_sex(Integer d_sex) {
        this.d_sex = d_sex;
    }

    public Integer getD_age() {
        return d_age;
    }

    public void setD_age(Integer d_age) {
        this.d_age = d_age;
    }

    public String getD_department() {
        return d_department;
    }

    public void setD_department(String d_department) {
        this.d_department = d_department;
    }

    public String getD_address() {
        return d_address;
    }

    public void setD_address(String d_address) {
        this.d_address = d_address;
    }

    public String getD_tel() {
        return d_tel;
    }

    public void setD_tel(String d_tel) {
        this.d_tel = d_tel;
    }

    public String getD_password() {
        return d_password;
    }

    public void setD_password(String d_password) {
        this.d_password = d_password;
    }

    public Doctor(Integer d_id, String d_name, Integer d_sex, Integer d_age, String d_department, String d_address, String d_tel, String d_password) {

        this.d_id = d_id;
        this.d_name = d_name;
        this.d_sex = d_sex;
        this.d_age = d_age;
        this.d_department = d_department;
        this.d_address = d_address;
        this.d_tel = d_tel;
        this.d_password = d_password;
    }
}
